Skip to content

Separate User Address Spaces for DXE drivers.#75

Open
MikhailKrichanov wants to merge 341 commits intomasterfrom
UserSpace
Open

Separate User Address Spaces for DXE drivers.#75
MikhailKrichanov wants to merge 341 commits intomasterfrom
UserSpace

Conversation

@MikhailKrichanov
Copy link
Copy Markdown
Contributor

No description provided.

Using GCC 13.3.0 discovers an out of bounds memory access in VfrCompile
when building DriverSampleDxe. This is also discoverable with ASan.
The issue here is that EFI_IFR_TYPE_VALUE is a flexible type and
when passed by value for string types only the header part is accessible.
Assuming the remainder is zero seems to be ok as gZeroEfiIfrTypeValue
is used as a variable source.

This change also fixes a warning for new[]/delete[] mismatch
discovered by ASan.

Signed-off-by: Vitaly Cheptsov <vit9696@protonmail.com>
@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had activity in 60 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jun 14, 2025
@github-actions
Copy link
Copy Markdown

This pull request has been automatically been closed because it did not have any activity in 60 days and no follow up within 7 days after being marked stale. Thank you for your contributions.

@github-actions github-actions bot closed this Jun 22, 2025
Mikhail Krichanov added 25 commits October 6, 2025 12:18
CoreSimpleFileSystemOpenVolume.
used CS saved on stack instead of DS for CPL extraction.
@savvamitrofanov savvamitrofanov force-pushed the master branch 2 times, most recently from 3d47654 to 25f2ca4 Compare March 4, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

7 participants